package com.huan.service;

import com.huan.pojo.PageBean;
import com.huan.pojo.Score;
import com.huan.pojo.Teach;


public interface TeachService {
    /**
     * 分页条件查询
     * @param currentPage
     * @param pageSize
     * @param teach
     * @return
     */
    PageBean<Teach> selectByPageAndCondition(int currentPage, int pageSize, Teach teach);

    /**
     * 增加
     * @param teach
     */
    boolean add(Teach teach);

    /**
     * 编辑
     * @param teach
     */
    int update(Teach teach);


    /**
     * 删除
     * @param teacherID
     * @param courseID
     */
    void delete(String teacherID, String courseID);


}
